package com.movie.service.impl;

import com.movie.model.auto.Feedback;
import com.movie.mapper.auto.FeedbackMapper;
import com.movie.model.auto.FeedbackAccount;
import com.movie.service.IFeedbackService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 达瓦里氏
 * @since 2021-12-16
 */
@Service
public class FeedbackServiceImpl extends ServiceImpl<FeedbackMapper, Feedback> implements IFeedbackService {

    @Resource
    private FeedbackMapper feedbackMapper;

    @Override
    public List<FeedbackAccount> SelectAll() {
        return feedbackMapper.SelectAll();
    }

    @Override
    public List<FeedbackAccount> SelectByName(String value) {
        return feedbackMapper.SelectByName(value);
    }

    @Override
    public List<FeedbackAccount> SelectById(int id) {
        return feedbackMapper.SelectById(id);
    }


}
